package com.springcloud.eurekaclient.controller;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Value("${server.port}")
    private int port;

    @GetMapping(value = "/testRabbion")
    public String testRabbion(){
        return "eureka-client子模块,该端口号为："+port;
    }

}
